package com.karrim.server.module;

import com.google.inject.AbstractModule;
import com.karrim.server.annotation.Annotation.BufferCapacity;
import com.karrim.server.util.array.Buffer;

/**
 *
 * @author andrea.cantafio
 */
public class ArrayModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(Buffer.class);
        bindConstant().annotatedWith(BufferCapacity.class).to(10);
    }
}
